home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
env.z
/
env
Wrap
Text File
|
1998-10-20
|
2KB
|
67 lines
EEEENNNNVVVV((((1111)))) EEEENNNNVVVV((((1111))))
NNNNAAAAMMMMEEEE
env, printenv - set environment for command execution, print environment
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
eeeennnnvvvv [----iiii] [----] [ name=value ... ] [ command args ]
pppprrrriiiinnnntttteeeennnnvvvv [ name ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_E_n_v obtains the current _e_n_v_i_r_o_n_m_e_n_t, modifies it according to its
arguments, then executes the command with the modified environment.
Arguments of the form _n_a_m_e====_v_a_l_u_e are merged into the inherited
environment before the command is executed.
If no command is specified, the resulting environment is printed, one
name-value pair per line.
_P_r_i_n_t_e_n_v prints out the names and values of the variables in the
environment, with one name/value pair per line. If _n_a_m_e is specified,
only its value is printed. If _n_a_m_e is not defined in the environment,
_p_r_i_n_t_e_n_v returns exit status 1, else it returns status 0.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
_----_iiii Invoke command with exactly the environment specified by the
arguments; the inherited environment will be ignored ocmpletely.
_---- Obsolescent form of _----_iiii.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
csh(1), sh(1), exec(2), profile(4), environ(5)
BBBBUUUUGGGGSSSS
_E_n_v doesn't handle commands with equal (``='') signs in their names, for
obvious reasons.
PPPPaaaaggggeeee 1111